package cn.huapu.power.energy.mapper;

import cn.huapu.power.energy.bean.SysClient;
import cn.huapu.power.energy.bean.vo.SysClientVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysClientMapper extends BaseMapper<SysClient, Integer> {
    SysClientVo getreeNode(Integer clientid);

    List<SysClientVo> queryTreeNode(@Param("name") String name, @Param("clientid") Integer clientid);

    List<SysClientVo> getAllIds(@Param("name") String name);
}